package com.ruoyi.basedata.mapper;

import java.util.List;
import com.ruoyi.basedata.domain.BdPurprice;

/**
 * 采购价Mapper接口
 * 
 * @author ptt
 * @date 2023-03-24
 */
public interface BdPurpriceMapper 
{
    /**
     * 查询采购价
     * 
     * @param id 采购价主键
     * @return 采购价
     */
    public BdPurprice selectBdPurpriceById(Long id);

    /**
     * 查询采购价列表
     * 
     * @param bdPurprice 采购价
     * @return 采购价集合
     */
    public List<BdPurprice> selectBdPurpriceList(BdPurprice bdPurprice);

    /**
     * 新增采购价
     * 
     * @param bdPurprice 采购价
     * @return 结果
     */
    public int insertBdPurprice(BdPurprice bdPurprice);

    /**
     * 修改采购价
     * 
     * @param bdPurprice 采购价
     * @return 结果
     */
    public int updateBdPurprice(BdPurprice bdPurprice);

    /**
     * 删除采购价
     * 
     * @param id 采购价主键
     * @return 结果
     */
    public int deleteBdPurpriceById(Long id);

    /**
     * 批量删除采购价
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBdPurpriceByIds(Long[] ids);

    public void banAllPurprice();

    public int del60DaysData(String date);
}
